home *** CD-ROM | disk | FTP | other *** search
/ boe.pres.k12.wv.us / boe.pres.k12.wv.us.zip / boe.pres.k12.wv.us / Utilities / Finishlynx / FinishLynx-8.00.exe / Adaptive32x128 4 Line.lss < prev    next >
Text File  |  2010-06-28  |  13KB  |  326 lines

  1. ; Defaults: 9600,8,N,1
  2. ;
  3. ; Lynx Scoreboard Script Version 2.0
  4. ;
  5. ; Copyright (c) 1995-2006 Lynx System Developers, Inc.
  6. ;
  7. ; Written by Kevin Holden 05/12/2010
  8. ;This script will display results on 4 lines.
  9. ;Set the Page Size in FinishLynx to 4.
  10. ;
  11. ; Notes:
  12. ;  + Empty lines and lines that start with a semicolon are ignored.
  13. ;
  14. ;  + Lines that start with two semicolons indicate a section header.
  15. ;    Sections may be omitted, appear in any order, and occur more than once.
  16. ;    The current section headers and their valid group codes are:
  17. ;      ;;Initialization
  18. ;        \10 \13 \17
  19. ;      ;;TimeRunning
  20. ;      ;;TimeStopped
  21. ;      ;;TimeGun
  22. ;      ;;TimeBreak
  23. ;      ;;TimeUpdate
  24. ;      ;;TimeOfDay
  25. ;        \11 \13 \17
  26. ;      ;;Wind
  27. ;        \12 \13 \17
  28. ;      ;;StartListHeader
  29. ;      ;;StartListTrailer
  30. ;      ;;StartedHeader
  31. ;      ;;StartedTrailer
  32. ;      ;;ResultsHeader
  33. ;      ;;ResultsTrailer
  34. ;        \13 \17
  35. ;      ;;StartList
  36. ;      ;;Started
  37. ;      ;;Results (or ;;Result)
  38. ;        \13 \14 \17
  39. ;      ;;MessageHeader
  40. ;      ;;MessageTrailer
  41. ;        \13 \15 \17
  42. ;      ;;Message
  43. ;        \13 \15 \16 \17
  44. ;    The StartList*, Started*, and Results* sections may have an optional
  45. ;    page number contained in square brackets immediately following the
  46. ;    section name. If more than one page is defined for a section then each
  47. ;    page will be shown, in order, when paging is enabled. Note that page
  48. ;    numbers do not need to be contiguous; they are simply used to establish
  49. ;    the order of pages. If a page number is omitted then a 0 (zero) is
  50. ;    assumed.
  51. ;    Some sections can be omitted and they will "fall back" to other
  52. ;    sections. TimeOfDay falls back to TimeRunning. The StartList* sections
  53. ;    fall back to the Results* sections. The Started* sections fall back
  54. ;    to the StartList* sections (after the StartList* sections have fallen
  55. ;    back to the Results* sections if necessary).
  56. ;
  57. ;  + Format lines must begin with a one byte group code and a one byte
  58. ;    variable code. The special variable code \00 indicates that no variable
  59. ;    is being requested. If a variable is requested it will be inserted where
  60. ;    a '%s' printf style format specifier appears. There can only be one '%s'
  61. ;    specifier in lines requesting a variable and no other printf format
  62. ;    specifiers may appear. Remember, lines requesting a variable are used as
  63. ;    a printf format string and therefore must behave as such. Lines not 
  64. ;    requesting a variable (variable code \00) can do whatever they want as
  65. ;    these lines are not fed to a printf statement.
  66. ;    The current group codes and their variable codes are:
  67. ;      \10  Initialize
  68. ;         \00  No variable
  69. ;      \11  Time
  70. ;         \00  No variable
  71. ;         \01  Formatted time with tenth (when running) or hundredth (when
  72. ;              stopped) precision
  73. ;         \02  Binary time in milliseconds (4 byte little endian integer)
  74. ;         \03  Formatted time with thousandth precision
  75. ;      \12  Wind
  76. ;         \00  No variable
  77. ;         \01  Formatted wind
  78. ;         \02  Binary wind in hundredths of units (4 byte little endian integer)
  79. ;      \13  Results Header/Trailer
  80. ;         \00  No variable
  81. ;         \01  OFFICIAL/UNOFFICIAL string
  82. ;         \02  Event name
  83. ;         \03  Wind
  84. ;         \04  Event number
  85. ;         \05  Round number
  86. ;         \06  Heat number
  87. ;         \07  AUTO/MANUAL start type
  88. ;         \08  Number of participants
  89. ;      \14  Result
  90. ;         \00  No variable
  91. ;         \01  Place
  92. ;         \02  Lane
  93. ;         \03  Id
  94. ;         \04  Name
  95. ;         \05  Affiliation
  96. ;         \06  Time
  97. ;         \07  Delta Time
  98. ;         \08  Cumulative Split Time
  99. ;         \09  Last Split Time
  100. ;         \0a  Laps To Go
  101. ;         \0b  License
  102. ;         \0c  ReacTime
  103. ;         \0d  Speed
  104. ;         \0e  Pace
  105. ;         \0f  Best Split Time
  106. ;      \15  Message Header/Trailer
  107. ;         \00  No variable
  108. ;      \16  Message
  109. ;         \00  No variable
  110. ;         \01  Text
  111. ;      \17  Break Time
  112. ;         \00  No variable
  113. ;         \nn  Formatted break time nn
  114. ;
  115. ;  + Arbitrary 8 bit values are entered as \hh where h is a lowercase hex
  116. ;    digit. Note that h must be lowercase.
  117. ;
  118. ;  + Format lines can have the following commands embedded in them.
  119. ;    Note that only 10 registers (indexed 0-9) are currently implemented.
  120. ;     \U\hh   Set the 'U' value to hh. It is reset after the next command.
  121. ;     \Ui\hh  Set the 'U' value to register[hh].
  122. ;     \X\hh   Set the 'X' value to hh. It is reset after the next command.
  123. ;     \Xi\hh  Set the 'X' value to register[hh].
  124. ;     \=\hh   register[hh] = {register[U]|X|1}                 (assign)
  125. ;     \*\hh   register[hh] = register[hh] * {register[U]|X|1}  (multiply)
  126. ;     \/\hh   register[hh] = register[hh] / {register[U]|X|1}  (divide)
  127. ;     \#\hh   register[hh] = register[hh] # {register[U]|X|1}  (modulus)
  128. ;     \+\hh   register[hh] = register[hh] + {register[U]|X|1}  (add)
  129. ;     \-\hh   register[hh] = register[hh] - {register[U]|X|1}  (subtract)
  130. ;     \<\hh   register[hh] = register[hh] << {register[U]|X|1} (shift left)
  131. ;     \>\hh   register[hh] = register[hh] >> {register[U]|X|1} (shift right)
  132. ;     \&\hh   register[hh] = register[hh] & {register[U]|X|1}  (bit and)
  133. ;     \|\hh   register[hh] = register[hh] | {register[U]|X|1}  (bit or)
  134. ;     \^\hh   register[hh] = register[hh] ^ {register[U]|X|1}  (bit xor)
  135. ;     \~\hh   register[hh] = ~register[hh]                     (bit invert)
  136. ;     \F\hh   register[hh] = The result of running Function {U|0} on the 
  137. ;             next {X|<eol>} characters.
  138. ;              \U\00  IDS checksum.
  139. ;              \U\01  XOR checksum. register[hh] is used as the seed value.
  140. ;              \U\02  ADD checksum. register[hh] is used as the seed value.
  141. ;              \U\03  CRC-16. register[hh] is used as the seed value
  142. ;                       and register[hh+1] is the polynomial.
  143. ;              \U\04  CRC-32. register[hh] is used as the seed value
  144. ;                       and register[hh+1] is the polynomial.
  145. ;     \O\hh   Output register[hh] as an {X|1} byte value using method {U|0}.
  146. ;              \U\00  Binary little-endian (Intel byte order).
  147. ;              \U\01  Binary big-endian (Motorola byte order).
  148. ;              \U\02  ASCII text right justified space padded.
  149. ;              \U\03  ASCII text right justified zero padded.
  150. ;              \U\04  ASCII text left justified space padded.
  151. ;              \U\05  ASCII text left justified zero padded.
  152. ;     \S\hh   Scan the next {X|1} bytes into register[hh] using method {U|0}.
  153. ;              \U\00  ASCII text base 10.
  154. ;              \U\01  Binary little-endian (Intel byte order).
  155. ;              \U\02  Binary big-endian (Motorola byte order).
  156. ;     \P\hh   Run Procedure hh on the next {X|<eol>} characters.
  157. ;              \P\00  Reverse characters.
  158. ;              \P\01  Convert characters to Colorado Time format. Register[1]
  159. ;                       is the current character position on entry and the
  160. ;                       next character position on exit.
  161. ;              \P\02  Convert characters to Daktronics AllSport format.
  162. ;     \B\hh   Delete {register[U]|hh} (to beginning of line if zero) characters 
  163. ;             before the cursor or until the string contains X characters.
  164. ;     \D\hh   Delete {register[U]|hh} (to end of line if zero) characters 
  165. ;             at the cursor or until the string contains X characters.
  166. ;     \I\hh   Insert {register[U]|hh} spaces at the cursor or until the string
  167. ;             contains X characters.
  168. ;     \Ic\hh  Insert {register[U]|hh} {X's|spaces} at the cursor.
  169. ;     \L\hh   Move the cursor {register[U]|hh} positions to the left (to the 
  170. ;             beginning of the line if zero).
  171. ;     \R\hh   Move the cursor {register[U]|hh} positions to the right (to the
  172. ;             end of the line if zero).
  173. ;    Note that numbers 0 thru 9 can be entered directly for single character
  174. ;    embedded commands. For example, '\U\04' is the same as '\U4' and 
  175. ;    '\=\01' is the same as '\=1'.
  176. ;
  177. ;  + Be very careful about whitespace in each format line. Characters other
  178. ;    than '%s' specifiers and embedded commands and values will be sent
  179. ;    exactly as they appear on the line. This means, for instance, that using
  180. ;    tabs to make a line 'look right' in your favorite editor will cause
  181. ;    tabs to be sent to the scoreboard instead of the equivalent number of
  182. ;    spaces (probably not what you wanted).
  183. ;
  184. ; The format lines follow.
  185.  
  186. ;;Initialization
  187. ; This is sent once to initialize the scoreboard.
  188. ;\00_01Z00_02GA            _04
  189. ;\00_01Z00_02E$AAL0100FF00ABL00FF0000BBL00FF0000_04
  190. \00_01Z00_02E$AAL0100FF00ABL00FF0000BBL00FF0000CBL00FF0000DBL00FF0000_04
  191. \00_01Z00_02GAConfig4Lynx_04
  192. ;\00_01Z00_02AA_1B0b_1E1_1D41_1D21_1D01_10A_0D_10B_04
  193. \00_01Z00_02AA_1B0b_1E1_1D41_1A3_1D00_10A_0D_10B_0D_10C_0D_10D_04
  194. \00_01Z00_02E.TLA_04
  195.  
  196. ;;TimeRunning
  197. ; This is sent approximately 10 times per second.
  198. ; Setting register[0] to 1 in a format line will cause that line and
  199. ; subsequent lines to only be sent once per second (when the seconds
  200. ; digit changes) instead of approximately 10 times per second. Setting
  201. ; register[0] to 0 will resume normal operation for remaining lines.
  202. ;\00_01Z00_02GA                  _04
  203. ; Use the following line for updates only once/second
  204. ;\01\=1_01Z00_02GB     %12.12s\B4\R0     _04
  205. ;\01_01Z00_02GB     %12.12s\B2\R0   _04
  206.  
  207. \00_01Z00_02AA_1B0b_1E1_1D41_1AZ_1D20_1D01_10A_04
  208. \01\=1_01Z00_02GA   %12.12s\B2_04
  209. \00_01Z00_02E.AL_04
  210.  
  211. ;;TimeStopped
  212. ; This is sent when the time is stopped by a beam break.
  213. \01\=1_01Z00_02GA %12.12s\B1_04
  214.  
  215.  
  216.  
  217. ;;TimeGun
  218. ; This is sent when a gun signal is received.
  219.  
  220. ;;TimeBreak
  221. ; This is sent when a beam break is received.
  222.  
  223. ;;TimeUpdate
  224. ; This is sent approximately 10 times per second.
  225.  
  226. ;;TimeOfDay
  227. ; This is sent when the 'Send time of day' option is checked in the
  228. ; Scoreboard pull down menu.
  229. ;\00_01Z00_02GAOfficial Time     _04
  230. ;\01\=1_01Z00_02GB%12.12s\B4_04
  231.  
  232.  
  233. ;\00_01Z00_02E$AAL0100FF00ABL00FF0000BBL00FF0000_04
  234. \00_01Z00_02AA_1B0b_1E1_1D41_1AZ_1D20_1D01_10A_04
  235. \01\=1_01Z00_02GA   %12.12s\B4_04
  236. \00_01Z00_02E.AL_04
  237.  
  238. ;;Wind
  239. ; This is sent in the time stream when a wind reading is received.
  240.  
  241. ;;StartListHeader
  242. ; This is sent once each time the scoreboard is updated with results. It
  243. ; is sent before any result lines are sent.
  244.  
  245. ;;StartList
  246. ; This is sent once for each result line displayed on the scoreboard.
  247.  
  248.  
  249. \00_01Z00_02AA_1B0b_1E1_1D41_1A3_1D00_10A_0D_10B_0D_10C_0D_10D_04
  250. \00_01Z00_02G\X\41\+0\O0
  251. \14\02%3.3s
  252. \14\03%4.4s
  253. \14\04 %-10.10s
  254. ;\14\06%12.12s\B1\L8\B3\R0
  255. \14\00_04
  256.  
  257.  
  258.  
  259. ;;StartedHeader
  260. ; This is sent once each time the scoreboard is updated with results. It
  261. ; is sent before any result lines are sent.
  262.  
  263. ;;Started
  264. ; This is sent once for each result line displayed on the scoreboard.
  265. ; Register[0] is initialized with the index of the current result line and
  266. ; will range from 0 through PageSize - 1.
  267.  
  268. ;;ResultsHeader
  269. ; This is sent once each time the scoreboard is updated with results. It
  270. ; is sent before any result lines are sent.
  271.  
  272. ;;Results
  273. ; This is sent once for each result line displayed on the scoreboard.
  274. ; Register[0] is initialized with the index of the current result line and
  275. ; will range from 0 through PageSize - 1.
  276. ; Page 1: place nom
  277.  
  278. \00_01Z00_02AA_1B0b_1E1_1D41_1A3_1D00_10A_0D_10B_0D_10C_0D_10D_04
  279. \00_01Z00_02G\X\41\+0\O0
  280. \14\01%2.2s
  281. \14\04 %-10.10s
  282. \14\06%12.12s\B1\L8\B3\R0
  283. \14\00_04
  284.  
  285.  
  286. ;\14\00_01Z00_02GB
  287. ;\14\01%2.2s
  288. ;\14\04 %-10.10s
  289. ;\14\06%12.12s\B1\L8\B3\R0
  290. ;\00_01Z00_02E.TL_04
  291. ;\00_04
  292.  
  293.  
  294.  
  295. ;\00_01Z00_02GB
  296. ;\00  
  297. ; Comment out next line for no affiliation
  298. ;\05%4.4s
  299. ;\06 %12.12s\B1\L8\B3\R0
  300. ;\00_04
  301.  
  302. ;;ResultsTrailer
  303. ; This is sent once each time the scoreboard is updated with results. It
  304. ; is sent after all result lines are sent.
  305.  
  306. ;;MessageHeader
  307. ; This is sent once each time the scoreboard is updated with the message. It
  308. ; is sent before any message lines are sent.
  309.  
  310. ;;Message
  311. ; This is sent once for each message line displayed on the scoreboard.
  312. ; Register[0] is initialized with the index of the current message line and
  313. ; will range from 0 through <number of lines> - 1.
  314. \00_01Z00_02AA_1B0b_1E1_1D41_1AZ_1D20_1D01_10A_04
  315. \00_01Z00_02GA
  316. \01%-28.28s
  317. \00_04
  318. ;\00_01Z00_02GB
  319. ;\01%-36.36s\L0\D9\D9\R0
  320. ;\00_04
  321.  
  322. ;;MessageTrailer
  323. ; This is sent once each time the scoreboard is updated with the message. It
  324. ; is sent after all message lines are sent.
  325.  
  326.